There is no response when clicking the button inside SubViewport with the mouse

I want to implement a menu in a 3D scene that follows objects and allows you to click to upgrade your character
How can I make my application work?

What exactly do you want to achieve with a SubViewport?

Even without nodes within SubViewport _input and _unhandled_input are not triggered. I don’t know yet whether it’s a bug or intentional.

Docs: SubViewport — Godot Engine (stable) documentation in English

I want to implement a menu in a 3D scene that follows objects and allows you to click to upgrade your character

Docs

SubViewport must have a non-zero size and be either put inside a SubViewportContainer or assigned to a ViewportTexture.

so I can intercept the events

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.