We will use the two animations on the button to show the player what state it is in – whether it has been pushed or not. For that reason, we don’t want it to keep animating up and down.
- Select the Button (or whatever your button entity is called) and open the Entity panel.
- In the VoxelObject section (the after Collision), find the Play property and uncheck the box.
- Check to make sure that the button is no longer animating.