Author Topic: How to change the dimension in widget  (Read 1260 times)

patrick_activate

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
How to change the dimension in widget
« on: February 18, 2014, 05:07:36 AM »
i want to change the dimensions in the widget of UISprite in my script, is it possible to do so? can someone provide the example code statement? thank alot  :)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to change the dimension in widget
« Reply #1 on: February 18, 2014, 10:19:34 AM »
widget.width = 123;
widget.height = 321;