How do I use an object name as a variable?

v1.19.3

I trying to detect the name of an object but I don’t know how.

I’ve tried to use the “this” keyword, but it just returns [Object object], and I can’t figure out what the name variable is

Try using “this.identifier” and it’ll return the name of the object