Godot Version
4.6.3.stable
Question
Hello, I am trying to do what I think is a very basic context menu (like in the sims) but i am running into an issue where it seems like the signals aren't emitting.
I stripped it down to just the following:
The code is:
extends Control
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_popup_menu_id_pressed(id: int) -> void:
print(id)
What happens is I load the scene, click, and the Popupmenu goes away, but I do not get anything printed out to the console. I cannot tell if I am misusing Popupmenu, or if there is a bug I cannot figure out.
I uploaded a video.
Any help is appreciated. Thanks!


