playMaker

Author Topic: iTween Canvas Sprite problem  (Read 1531 times)

Beepio

  • Playmaker Newbie
  • *
  • Posts: 5
iTween Canvas Sprite problem
« on: July 06, 2016, 01:29:19 AM »
Hey team, wondering if anyone might have a tip for me?

I'm using iTween to move a UI sprite. The sprite is in a canvas that has a layout. I've made a sort of grid based flexible layout using the Vertical layout group and layout elements. However because I have used these if I use an object inside them as the transform moveto reference for my sprite the sprite doesnt moveto it. If my object is outside these layout groups then the sprite does move there. I guess the layout groups are messing with the transform references coordinates and sending it to the bottom left of the screen. Any ideas how I can get the objects actual position to use as the reference?

Thanks in advance.