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
43
S
11
G
4
Posts: 428
Reputation: 7,454

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
64
S
27
G
9
Posts: 870
Reputation: 11,848

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
43
S
11
G
4
Posts: 428
Reputation: 7,454


Return to How do I....?

Who is online

Users browsing this forum: Marcos12, nanogod and 7 guests