How to know what is the node by number (e.g, Node#64239961293)

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

Under the func I execute, and I use print() because I want to know which node is used.

However it doesn’t print the name of node on console, instead, it only print the number like “Node#64239961293” to represent the node.

How can I know what is the name or class_name of the node

Heyyy I’m back. Thank you for you guys answer, actually I tried that before look for help online but it doesn’t work as I expect. I think that because my problem is more complex than I explained:)
I accidentally solve it by add “.get_name” instead of just “.name”. If you encounter similar problem, I hope that could help you!

Konishi | 2023-06-26 17:42

:bust_in_silhouette: Reply From: spaceyjase

Node has a name property (and others that may help); print it.

:bust_in_silhouette: Reply From: Patrick_W

If you want the name of the node you can print it like this: