Get frame Number

Get help using Construct 2

Post » Wed Mar 27, 2013 6:52 pm

Dear friends.
I have one problem and can't do same solution please help me .

I have


now when starting drag I want to know which frame user drag ,
maybe someone know how can I do ...
B
13
S
3
G
3
Posts: 28
Reputation: 2,798

Post » Wed Mar 27, 2013 7:27 pm

Sprite.Animationframe returns the current frame in the "Sprite" object. So for example if you wanted to display the frame with a text object, set the text to 'Sprite.Animationframe' and the current frame number will be displayed.
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Wed Mar 27, 2013 7:36 pm

[QUOTE=Nimtrix] Sprite.Animationframe returns the current frame in the "Sprite" object. So for example if you wanted to display the frame with a text object, set the text to 'Sprite.Animationframe' and the current frame number will be displayed.[/QUOTE]

10x a lot of working .
B
13
S
3
G
3
Posts: 28
Reputation: 2,798


Return to How do I....?

Who is online

Users browsing this forum: DemantDigitalArt and 22 guests