You have to set the variable
image_speed to 0 at the create event of the player, otherwise it will keep looping (by default its value is 1). Also, I assumed your "animation" is 3 images in 1 sprite, looking up, idle, and down. If that's not the case, and it is 3 actual animations in 1 sprite, then the code blocks needed are going to be a lot more complex. Considering you're just getting familiar with the system, I'd suggest splitting the animations into 3 sprites and work with
sprite_index instead. Image index of 10 sounds like it's 3 animations in 1 sprite.
Create Event:
- Set variable
image_speed to 0
- Set variable
image_index to
idle player image index
Step Event:
- If
condition to look up
- Set variable
image_index to player
looking up image index
- Else
- If
condition to look down
- Set variable image_index to player looking down image index
- Else
- Set variable
image_index to
idle player image index
Hope I helped