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

How do I set the game.Selection:Get() property in Studio?

I'm developing a FindObject plugin, but I don't know how to set the game.Selection:Get() property. How would I set it without causing an error?

1 answer

✓ Accepted answer

Use the :Set method.

See the relevant Wiki article.

2 comments

2

To extrapolate a bit, the Table returned by the Getof Selection isn't a property, so modifying changes nothing about the Selection. Also, in case you don't want to look OP, Set takes a list of Parts as input. Basically, a Table where you let Lua define the keys for you.

0

Thanks!

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