Quantcast
WoWInterface - View Single Post - Is is possible to has a OnEnter Script and propagate or unregister mouse clicks?
View Single Post
05-06-21, 12:35 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,638
Unfortunately OnEnter and OnLeave doesn't involve a mouse button being clicked. The frame is interactive.

However, you can register for OnMouseDown or OnMouseUp and check for a specific button being clicked to interact with the frame only on left click. However, whether that allows you to click behind it with the right mouse button is another thing. As you have been doing, all you can do is try things out. Which by the looks of your post you have tried to do.

Hopefully if someone has done what you want they can either point you to an addon that has it working for you to look at or can talk through how they did it.

As far as I am aware a frame is either interactive or non-interactive based on whether you have chosen to use the mouse with it or just using it as an overlay display like a hud.
__________________

Last edited by Xrystal : 05-06-21 at 12:37 PM.
  Reply With Quote