generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: dragging guis

Previous Thread :: Next Thread 
Seeumliam is not online. Seeumliam
Joined: 06 May 2013
Total Posts: 5662
27 Jan 2015 04:56 PM
How would I drag a gui? Would it be when drag begin the position = mouse position? and then how can I check if the gui is on top of another gui even if not completely on top?


~ Seeumliam ~
Report Abuse
XlAscensionlX is not online. XlAscensionlX
Joined: 17 Apr 2014
Total Posts: 872
27 Jan 2015 04:58 PM
Set the property of "Draggable" to true, on your GUI.

As for collision detection
http://wiki.roblox.com/index.php?title=Collision_detection_for_GUIs
http://wiki.roblox.com/index.php?title=GUI_Collision_Tutorial
Report Abuse
Froast is not online. Froast
Joined: 12 Mar 2009
Total Posts: 3134
27 Jan 2015 04:59 PM
You can use the built-in ROBLOX drag but from personal experience I know it doesn't always work well.
Which is why I made my own drag function that can be used on any frame:
roblox.com/--item?id=208980178

You can look at it and see how it works.
Report Abuse
Hassan09 is not online. Hassan09
Joined: 29 Oct 2009
Total Posts: 216
27 Jan 2015 05:26 PM
@Froast thanks for that.,
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image