While playing the wizard 101 dance pet minigame,hit the arrow key to imput the direction as it tells you and then repeat it based off of what you recorded, spacebar to reset the arrows.
if you find any bugs, comment though id be surprised this was very easy to make.