game.Workspace.Part.SurfaceGui.CanvasSize = (10,10,0)
****Examples from my stupidity.
game.Workspace.Part.SurfaceGui.CanvasSize = (10,10,0)
****Examples from my stupidity.
You change it like any other UDim2's, like
game.Workspace.Part.SurfaceGui.CanvasSize = UDim2.new(X Scale, X Offset, Y Scale, Y Offset)
Since you did not define all the required fields, I could not fill all them out for you.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
use UDim2 thats the Vector3 for GUI's
No, a UDIM does not have a Z coordinate, so it is not like Vector3's, but it could be like a Vector2.