Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Getting the inserted object in a plugin?

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.

1 answer

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.

1 comment

0

@GGRBXLuaGG I tried using that, but I need this to work only when an object is newly inserted.

This discussion is preserved as it was. New answers, comments, and votes are closed.