![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | CodingLikeADuck |
I try to replicate a part of the following offical demo for viewport interaction
https://godotengine.org/asset-library/asset/127
For testing purposes I added
func _unhandled_input(event):
if is_mouse_inside:
if event.is_action_pressed("middle_mouse"):
print("middle mouse pressed")
It does work as expected.
I’m not able to apply the same to my Godot 4 project. How do I get inputs to work on nodes further down?