I might start creating a plugin, and currently, I need to know when a part is created or inserted in Studio, however, I dont know if it’s possible to do that, and I don’t know anything about plugins, so i would like to know if this is possible to do, thanks for reading
That event fires in other scenarios too:
You can’t distinguish between whether you or someone else inserted the object with that (i.e. in Team Create), you can’t distinguish between an object being inserted and an object coming back into the hierarchy due to Undo, etc. It’s not the same.
@Conejin_Alt - it doesn’t look like this is currently possible. Check out the feature request I linked above for more information
Looks like your question has also already been asked and answered here too:
I am making a plugin. When the user inserts an object (from AdvancedObjects etc) the plugin will get that object, then the plugin will apply user-determined properties to the newly inserted object.
The problem I have is getting the plugin script to retrieve the newly inserted object.
I’ve searched ScriptingHelpers and the API Reference trying to find a solution but to no avail.
This is the best I could come up with:
connection = selection.SelectionChanged:Connect(function()
local selected =…
1 Like