mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-25 17:44:24 +00:00
8 lines
195 B
GDScript3
8 lines
195 B
GDScript3
|
extends ColorRect
|
||
|
class_name PostprocessingRect
|
||
|
|
||
|
|
||
|
func _input(event: InputEvent) -> void:
|
||
|
if event is InputEventKey:
|
||
|
if event.is_action_pressed(&"postprocessing_toggle"):
|
||
|
visible = !visible
|