menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
trying to make hover mouse over gui
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
trying to make hover mouse over gui
legoe22
Join Date: 2012-08-25
Post Count: 546
#172039392
Saturday, August 22, 2015 5:46 AM GMT
Hi, I'm trying to make it so when a player hovers their mouse over a textbutton something happens. I was told to use Mouse Enter, But How would i do this?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Meista
Join Date: 2012-07-04
Post Count: 5010
#172039611
Saturday, August 22, 2015 5:49 AM GMT
local x = BUTTON LOCATION x.MouseEnter:connect(function() --code end)
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Barbariancreep
Join Date: 2012-11-23
Post Count: 1096
#172039775
Saturday, August 22, 2015 5:52 AM GMT
button.MouseEnter:connect(function(x, y) -- leave these values as x and y if x == x position and y == y position then --code end end)
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right