How to call a node path using visual scripting?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Imuneu

I am working with a button, whenever you press the button a call will happen to a nodepath but its says nodepath notfound pls help me with this

Have you tried dragging and dropping the button node from the Scene panel onto the visual script panel where you are trying to access the button?

timothybrentwood | 2021-05-06 11:38

:bust_in_silhouette: Reply From: magicalogic

Use $("nodepath").method_to_call(args).

Sorry, I missed the visual scripting part.

magicalogic | 2021-05-06 12:56