Gif not playing full animation

I want to create a shooting game, but there’s a problem with the gif. When I press a specific button, the animation plays but not fully, like some remaining frames are not being played. Why is that ?

Code:
When:system/Listener/Click down/Mouse1
Do:Gun/Gif/Set Active/Yes
Gun/Gif/Set frames/7

Edited, What does the frame code do ?

1 Like

Perhaps it’s the frame settings, try setting it higher.

1 Like

Did that, but still didn’t work

1 Like

Can you share the game?

2 Likes

Ready_Maker_2022-01-27_16-27-53_AdobeCreativeCloudExpress

Here’s a gif

1 Like

Can you share the project link? @ACCMarkedForDel

2 Likes

Sure

1 Like