Click on object to teleport or move there.

And I should add that for some reason
the trace only works for “trace
complex” which unfortunately lets me
click artwork in other rooms. I have a
feeling that’s to supposed to be how
it works. Heh. Not sure what i did but
that’s cropped up after it was working
for the day.

Assuming you only want the player to be able to move to the objects in the very room they’re in, you’d need to associate the artpieces with their room.

The easiest method that comes to mind is using the collision volumes and tags:

  • each room has a collision volume with a tag
  • at begin play, each Artpiece checks what volume they’re in and assigns the room’s tag to itself (so you do not need to do it manually for hundreds of objects)
  • when the player clicks an Artpiece, you compare the tag of the room they’re in with the tag of the Artpiece, if the tags match, they can move