How to get user right click event in the ScriptEditor

I have a PluginMenu, which i want it to show upon right clicking in the script editor. i tried using UserInputService:IsMouseButtonPressed() but it only works at the viewport and not the script editor

how can i do that?

I do not think it is possible yet.

1 Like

A quick search of ‘mouse’ on the site shows this
PluginMouse | Roblox Creator Documentation
including Button1 and Button2 inputs.

1 Like

doesn’t work in the script editor