Get "Grow Self" Blocks Properties

twinter3

  • Posts: 98
Is there any way through iOS when using the grow block to get the size of the actor is in realtime.  "Width of Self" stays the same when it is resizing over time.

Thanks!

captaincomic

  • *
  • Posts: 6108
If you grow an actor to X percent width and Y percent height:
After finished growing the actual width will be
<<X / 100> * <width of <Self>>>.
And the actual height will bw
<<Y / 100> * <height of <Self>>.

If you would also need the size while the actor is still growing, it would be more difficult...


RayonMazter

  • Posts: 123
I thought it was crazy too that it worked that way...

http://community.stencyl.com/index.php/topic,5145.msg33748.html#msg33748

old post, relating to the same thing.