of     1   

Project2d
#36570179Saturday, November 06, 2010 3:36 AM GMT

Is it possible to compare UDim2 position to mouse position to position a Gui at where the mouse is? Or is this not possible? Help! :P
walter232
#36570311Saturday, November 06, 2010 3:39 AM GMT

gui.Position=UDim3.new(0,mouse.x,0,mouse.y)?
SIime
#36570330Saturday, November 06, 2010 3:39 AM GMT

script.Parent.MouseButton1Down:connect(function(x,y) script.Parent.Parent.LolFrame.Position = UDim2.new(0,x,0,y) end)
walter232
#36570347Saturday, November 06, 2010 3:39 AM GMT

Whoops, UDim2...
jmbomb
#36570491Saturday, November 06, 2010 3:43 AM GMT

OHAI ALT :P
Kenetec
#36574743Saturday, November 06, 2010 5:22 AM GMT

If you use a tool, you have constant access to the mouse. If you use a normal GUI, you can only access the mouse if the mouse is inside a TextButton or Image Button.
Julian365
#36577466Saturday, November 06, 2010 7:49 AM GMT

[ Content Deleted ]
AgentFirefox
Top 100 Poster
#36579717Saturday, November 06, 2010 12:02 PM GMT

"If you use a tool, you have constant access to the mouse. If you use a normal GUI, you can only access the mouse if the mouse is inside a TextButton or Image Button." Wrong. All non-frame and non-ScreenGui objects have the MoveMoved event. The MouseMoved event returns the X, Y coordinates of the mouse with respect to the ScreenGui.
DuVaLPwnT
#36579838Saturday, November 06, 2010 12:08 PM GMT

AgentFirefox, does it return the absolute position? I might make one.
AgentFirefox
Top 100 Poster
#36580493Saturday, November 06, 2010 12:31 PM GMT

That's what the position is with respect to the ScreenGui, so yes.
DuVaLPwnT
#36580688Saturday, November 06, 2010 12:38 PM GMT

Thanks.
hyrumcoop
#36581232Saturday, November 06, 2010 12:56 PM GMT

function Move(mouse) Frame.Position = UDim2.new(0, mouse.X, 0, mouse.Y) end
AgentFirefox
Top 100 Poster
#36581289Saturday, November 06, 2010 12:57 PM GMT

He doesn't want a Tool/HopperBin.
Jazzyforcefield
#36581508Saturday, November 06, 2010 1:05 PM GMT

But is it possible to cover the mouse and change it's icon.
AgentFirefox
Top 100 Poster
#36581536Saturday, November 06, 2010 1:06 PM GMT

The mouse always has a higher ZIndex than the GUI objects.
Jazzyforcefield
#36702245Monday, November 08, 2010 3:17 AM GMT

Udim19291731321312312321321321
Kaluosi
#36702942Monday, November 08, 2010 3:33 AM GMT

So is that a yes or no?!?
Kenetec
#36753688Tuesday, November 09, 2010 12:39 PM GMT

You can't change the mouse from a GUI, or cover the mouse witha GUI. But, you CAN change the mouse with a tool/HopperBin. mouse.Icon="htttp://www.roblox.com/asset/?id=######"
Kaluosi
#36766114Tuesday, November 09, 2010 9:44 PM GMT

Amen.
turbodaze
#36766689Tuesday, November 09, 2010 9:53 PM GMT

"Amen." lol
Kaluosi
#36786552Wednesday, November 10, 2010 3:02 AM GMT

Yes, Amen.

    of     1