Go to a Hiding Spot

Make your sprite go to a tree and hide.

Click the Motion category. Drag out a go to mouse-pointer block.

Add the block to your script.

Then, choose the tree (or other hiding place) from the drop-down menu: