define sprite actions and display them