10 lines
261 B
GDScript
10 lines
261 B
GDScript
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.
|