mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-22 08:04:23 +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
|