Can you get the url of a game object or component?

Hello! As titled, is there a function to get the url of something dynamically through script? I know there is the msg.url() function but is there something like a msg.get_url() function? Thanks!

Hi!

What would be the difference?

1 Like

So I created this topic after spending the better part of a night trying and failing to get a message chain going. Turns out I (a) somehow missed that you could use msg.url() to get the url of the current script (I thought I had to pass something) and (b) go.get_id was what I was missing. I got my script working now :slight_smile:

3 Likes