challenge-editor/scene/tool/tool_button.gd

10 lines
261 B
GDScript3
Raw Normal View History

2024-09-12 21:55:55 +08:00
extends Button
class_name ToolButton
func on_button_down() -> void:
get_parent().modulate=Color(0.5,0.5,0.5,1)
pass # Replace with function body.
func on_button_up() -> void:
get_parent().modulate=Color(1,1,1,1)
pass # Replace with function body.ion body.