mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-24 00:54:22 +00:00
8 lines
No EOL
195 B
GDScript
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 |