12345678910111213141516 |
- extends Sprite2D
- # Called when the node enters the scene tree for the first time.
- func _ready():
- pass # Replace with function body.
- func ok():
- pass
- # Called every frame. 'delta' is the elapsed time since the previous frame.
- func _process(delta):
- self.set_region_rect(Rect2(240,64,184,32))
- if(self.get_meta("selected") == true && self.get_meta("disabled") != true):
- self.set_region_rect(Rect2(240,0,184,32))
-
|