How do I get the width/Height of a cloned Sprite?

Get help using Construct 2

Post » Mon Oct 15, 2012 10:45 am

How do I get the width & Height of a cloned Sprite?

I am using FAMILIES, I can select the particular sprite instance, and Set the width/height, but I cannot find a way to GET the current width/height?

Thanks in advance
B
41
S
11
G
4
Posts: 428
Reputation: 7,356

Post » Mon Oct 15, 2012 7:23 pm

Below the part where you get the particular sprite instance, create a sub event that then checks the Sprite.width and Sprite.height. By having this check in a sub event, it will only check the sprite instance you "picked" before hand.justifun2012-10-15 19:24:10
B
50
S
21
G
8
Posts: 844
Reputation: 10,299

Post » Mon Oct 15, 2012 10:31 pm

Thanks a lot I managed to solve this.

I am still trying to learn how things work :)
B
41
S
11
G
4
Posts: 428
Reputation: 7,356


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 14 guests