1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-25 17:44:24 +00:00
hella-farm/postprocessing/postprocessing_rect.gd

8 lines
195 B
GDScript3
Raw Normal View History

2024-04-15 19:24:38 +00:00
extends ColorRect
class_name PostprocessingRect
func _input(event: InputEvent) -> void:
if event is InputEventKey:
if event.is_action_pressed(&"postprocessing_toggle"):
visible = !visible