Cane of Somaria

The Cane of Somaria is a reappearing item in the Legend of Zelda series. It is a magical red cane, although more similar in appearance to a staff, with the ability to create solid blocks of magic, with which Link can hold down switches. It also has other uses. The block can be dispelled, sending fireballs in the four compass directions.

The Legend of Zelda: A Link to the Past
In its first appearance, the Cane of Somaria is found in the Misery Mire dungeon. It has a special use in Turtle Rock, the seventh dungeon of the Dark World. When used on a question mark pad, a platform is created, allowing Link to traverse certain tracks in the dungeon.

The Legend of Zelda: Oracle of Ages
The Cane of Somaria appears again in Oracle of Ages. It is found in the Crown Dungeon, the game's fifth dungeon. Link can use it to block the progress of enemies, or to determine if there is a pit or a pathway.