How do you see what text a user is highlighting with a plugin

Pretty simple question. I am just wondering if there is some type of API I can use in my plugin to see what text somebody is highlighting. And just to clarify, I mean specifically in the script editor, not in any external applications or other studio interfaces.

1 Like

I’ve never heard of it. SelectionService only works with instances and I don’t think there is a service that would handle that