Image Resize and Reset

BlastoStitchBlastoStitch Member Posts: 3
Is there a way to reset an image back to original sizes once it has been resized using the drag controls?

Answers

  • UtopianGamesUtopianGames Member Posts: 5,692
    Yes you will need 2 self attributes integer or index or real will do the trick.

    Call them Width and Height now do change attribute Width to self.size.width and Height to self.size.Height now when you want to change them back change attribute self.size.width to self.Width and change attribute self.size.height to self.Height

    Darren.
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited July 2012

    @UtopianGames

    hi Darren, with respect, I think he means in the Scene Editor before any runtime.... (I could be wrong though!)

    @BlastoStitch

    hi, if that's what you mean, there's a couple of ways:

    if you've only just resized, go to Edit > Undo Resize or press Command Z

    If later, check size of original actor in the Inspector, then change the size back again in the screen actor's editor page.

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Sign In or Register to comment.