Script knowing what part the dev is selecting

Im trying to make a plugin for studio, but I need to know how to detect when the dev is selecting the part
image

Sort of like in the tool grip plugin when you select a tool it shows it in the widget, I know its possible to do but I cant find how.

1 Like

Plugins can use the Selection service to see what a developer is selecting.

This should help you

Selection:Get (roblox.com)