Library ninjutsu is a variant of ninjutsu that can be activated only from your library. It can’t be activated from your hand. Just as with regular ninjutsu, the Ninja enters attacking the player, planeswalker, or battle that the returned creature was attacking.