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?
✓ ANSWER ACCEPTED
How do I set the game.Selection:Get() property in Studio?
1 answer
✓ Accepted answer
Use the :Set method.
See the relevant Wiki article.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
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,Settakes a list of Parts as input. Basically, a Table where you let Lua define the keys for you.Thanks!