I am trying to change the properties of any object that is inserted into my game (in studio) through a plugin. I couldn't find anything that would return the inserted object. Is this possible? any workarounds?
Thanks.
I am trying to change the properties of any object that is inserted into my game (in studio) through a plugin. I couldn't find anything that would return the inserted object. Is this possible? any workarounds?
Thanks.
I am not sure if you can do that but one other way is using Selection
It's basically a service for plugins that lets you read and modify what's selected. So for your situation you would bind a function to SelectionChanged and in it you would change the properties.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
@GGRBXLuaGG I tried using that, but I need this to work only when an object is newly inserted.