Advertisement
otorp2

random numer

Oct 28th, 2016
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. extends GridContainer
  2.  
  3. func get_random_number():
  4. randomize()
  5. return randi()%11
  6.  
  7. func _ready():
  8. print(get_random_number())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement