Use the Up,Down,Left, and right.
When on stage 4 if trap in betewen Mario place and green boulder hit the flag butten.