Result.gd 399 B

1234567891011121314
  1. extends Sprite2D
  2. # Called when the node enters the scene tree for the first time.
  3. func _ready():
  4. pass # Replace with function body.
  5. # Called every frame. 'delta' is the elapsed time since the previous frame.
  6. func _process(delta):
  7. self.set_region_rect(Rect2(96,96,92,32))
  8. if(self.get_meta("selected") == true && self.get_meta("disabled") != true):
  9. self.set_region_rect(Rect2(96,32,92,32))