Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extends Node2D
- func _ready():
- var i = 0
- var array1 = Vector2Array([])
- array1.resize(3)
- array1.set(0,Vector2(78,53))
- if array1.size() <= 3:
- print("true")
- array1.set(2,Vector2(50,50))
- print(array1.get(2))
- print(array1.size())
- pass
Add Comment
Please, Sign In to add comment