Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need a piece of code to run every time object a is selected. But I'm unsure how to do it.
For example -
If obj_a is selected then print "selected"
I'm experimenting with -
If selection[1].name == "obj_a" then print "selected"
But that only works once, if I deselect then reselect I don't get the print again.
I feel like this should be simple but I can't find anything that I can use on Google.
Solved! Go to Solution.