Advertisement
kensuaga

MS_SetupAndClearButtons

Nov 22nd, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.55 KB | None | 0 0
  1.     --Button used to call the setupPlayArea function
  2.     self.createButton(
  3.         {click_function='buttonPress', function_owner=self, label='Setup',
  4.         position={0,0.1,0.9}, rotation={0,0,0}, width=300, height=225, font_size=100,
  5.         scale={0.8,0.8,0.8}}
  6.     )
  7.  
  8.     --Button used to call the clearPlayArea function
  9.     self.createButton(
  10.         {click_function='clearPlayArea', function_owner=self, label='Clear',
  11.         position={1.3,0.1,0.9}, rotation={0,0,0}, width=300, height=225, font_size=100,
  12.         scale={0.8,0.8,0.8}}
  13.     )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement