Z-targeting

Z-targeting is a system of "locking on" enemies, characters, and objects using the Z button in order to interact with them in an easier fashion. For example, when Link Z-targets an enemy and attacks, all attacks will be directed towards the enemy. Z-targeting was featured in The Legend of Zelda: Ocarina of Time, The Legend of Zelda: Majora's Mask, and the Nintendo Wii version of The Legend of Zelda: Twilight Princess. The Nintendo Gamecube version of The Legend of Zelda: Twilight Princess and The Legend of Zelda: The Wind Waker use L-targeting, which is the same thing just with the L button.