#How can I change the UI image after my mouse is on it?

1 messages · Page 1 of 1 (latest)

daring fern
#

Basically the UI button named “Donate?” should change the image after my mouse is on it.

smoky pasture
#

put a transparen timage inside it and use mouseEnter to set it's transparency to 0 and MouseLeave to set it back to 1

green venture
#

@daring fern

#
local clicked : boolean = false

local function click()
   clicked = not clicked
      if clicked then
      ...
      else
      ...
   end
end

-- something that runs click
#

But as Mouse Click

daring fern
#

Ok thanks

buoyant pantherBOT
#

studio** You are now Level 2! **studio

green venture
proper urchin
#

scripting isnt needed for imagebutton to change image on hover

smoky pasture