Jump to content

dxDrawRectangle Hover


deltamta

Recommended Posts

Heyo Guys,

I have a query...

As you all might know on GUI's we use onClientMouseEnter or onClientMouseLeave as hover functions to make our GUI's look cooler 8) But im making a script using dx Drawings and I was curious if there is any specific function when you hover a dx Rectangle to change to a different color :)

Thanks,

Delta

Link to comment
Crystal ur suggestion is good but I figured out another way to do it and it works.

I just created a GUI and set the alpha to 0 so when the mouse hovers over the gui it draws the dx rectangle.

It might sound weird but it works well :)

Well, that's a way. I still think getting cursor position is easier.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...