1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
extends RigidBody2D # member variables here, example: # var a=2 # var b="textvar" var disabled=false func disable(): if (disabled): return get_node("anim").play("shutdown") disabled=true func _ready(): # Initalization here pass