lsp425
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 603 |
|
|
| 16 Nov 2014 04:07 PM |
Is it possible to change a scrolling frames canvas position from a script? If so, what is wrong with this?
move = true function changedirection(direction) while move do wait(.1) local frame = script.Parent.shopframe if frame.CanvasPosition.Y < 0 then frame.CanvasPosition.Y = frame.CanvasPosition.Y + 1 else break end end end |
|
|
| Report Abuse |
|
|
| 16 Nov 2014 04:08 PM |
Y is read-only. Create a new Vector2, or whatever it is. |
|
|
| Report Abuse |
|
lsp425
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 603 |
|
| |