1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-21 23:54:23 +00:00
hella-farm/postprocessing/postprocessing_rect.gd

8 lines
No EOL
195 B
GDScript

extends ColorRect
class_name PostprocessingRect
func _input(event: InputEvent) -> void:
if event is InputEventKey:
if event.is_action_pressed(&"postprocessing_toggle"):
visible = !visible