Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Plugin - MouseEvents?

Asked by 8 years ago

I'm new to working with plugins, and I understand mostly everything about them except for plugin:Activate(true). From my understanding, plugin:Activate(true) would let your script listen for mouse events, and plugin:Activated(false) would turn off this and let the player continue to use their mouse regularly.

For some reason plugin:Activate(true) and plugin:Activate(false) do the exact same thing. Is there something I'm missing here or is this just me...? If someone could help, it would be much appreciated.

Thank you, ~ObscureEntity

0
Try checking out plugin:GetMouse(), and :Activate()'s parameter is a MouseObject, not a bool. TheDeadlyPanther 2460 — 8y
0
Directly from roblox wiki: void Activate (bool exclusiveMouse ) ObscureEntity 294 — 8y
0
The roblox example says "plugin:Activate(true)", If you know what's wrong, could you please show me an example of how to enable/disable activate..? ObscureEntity 294 — 8y

Answer this question