Beginner's GUI Tutorial: Difference between revisions

→‎Reference Section: So many spelling errors, (thier put instead of their)
>Flurite
No edit summary
>Pauljkl
(→‎Reference Section: So many spelling errors, (thier put instead of their))
Line 137: Line 137:
(to be removed once wiki reference section is complete)
(to be removed once wiki reference section is complete)


This is basically all the elements and their events. Use the :connect() function to do things when these events fire. You can find way more information if you go to the [[Object Browser]].  
This is basically all the elements and their events. Use the :connect() function to do things when these events fire. You can find a lot more information if you go to the [[Object Browser]].  


=== Frame ===
=== Frame ===
* [[MouseEnter (Event)|MouseEnter]] (When the player first puts thier mouse over it)  
* [[MouseEnter (Event)|MouseEnter]] (When the player first puts their mouse over it)  
* [[MouseLeave (Event)|MouseLeave]] (When the player first takes thier mouse off of it)  
* [[MouseLeave (Event)|MouseLeave]] (When the player first takes their mouse off of it)  
* [[MouseMoved (Event)|MouseMoved]] (When the player moves thier mouse on it)  
* [[MouseMoved (Event)|MouseMoved]] (When the player moves their mouse on it)  


=== TextLabel ===
=== TextLabel ===
* [[MouseEnter (Event)|MouseEnter]] (When the player first puts thier mouse over it)  
* [[MouseEnter (Event)|MouseEnter]] (When the player first puts their mouse over it)  
* [[MouseLeave (Event)|MouseLeave]] (When the player first takes thier mouse off of it)  
* [[MouseLeave (Event)|MouseLeave]] (When the player first takes their mouse off of it)  
* [[MouseMoved (Event)|MouseMoved]] (When the player moves thier mouse on it)  
* [[MouseMoved (Event)|MouseMoved]] (When the player moves their mouse on it)  


=== TextButton ===
=== TextButton ===
* [[MouseEnter (Event)|MouseEnter]] (When the player first puts thier mouse over it)  
* [[MouseEnter (Event)|MouseEnter]] (When the player first puts their mouse over it)  
* [[MouseLeave (Event)|MouseLeave]] (When the player first takes thier mouse off of it)  
* [[MouseLeave (Event)|MouseLeave]] (When the player first takes their mouse off of it)  
* [[MouseMoved (Event)|MouseMoved]] (When the player moves thier mouse on it)  
* [[MouseMoved (Event)|MouseMoved]] (When the player moves their mouse on it)  
* [[MouseButton1Click (Event)|MouseButton1Click]] (When the player clicks it w/ left button)  
* [[MouseButton1Click (Event)|MouseButton1Click]] (When the player clicks it w/ left button)  
* [[MouseButton1Down (Event)|MouseButton1Down]] (When the player first holds thier left mouse button down)  
* [[MouseButton1Down (Event)|MouseButton1Down]] (When the player first holds their left mouse button down)  
* [[MouseButton1Up (Event)|MouseButton1Up]] (When the player firsts lets go of thier left mouse button)  
* [[MouseButton1Up (Event)|MouseButton1Up]] (When the player firsts lets go of their left mouse button)  
* [[MouseButton2Click (Event)|MouseButton2Click]] (When the player clicks it w/ right button)  
* [[MouseButton2Click (Event)|MouseButton2Click]] (When the player clicks it w/ right button)  
* [[MouseButton2Down (Event)|MouseButton2Down]] (When the player holds thier right mouse button down)  
* [[MouseButton2Down (Event)|MouseButton2Down]] (When the player holds their right mouse button down)  
* [[MouseButton2Up (Event)|MouseButton2Up]] (When the player firsts lets go of right thier mouse button)  
* [[MouseButton2Up (Event)|MouseButton2Up]] (When the player firsts lets go of right their mouse button)  


=== ImageLabel ===
=== ImageLabel ===
* [[MouseEnter (Event)|MouseEnter]] (When the player first puts thier mouse over it)  
* [[MouseEnter (Event)|MouseEnter]] (When the player first puts their mouse over it)  
* [[MouseLeave (Event)|MouseLeave]] (When the player first takes thier mouse off of it)  
* [[MouseLeave (Event)|MouseLeave]] (When the player first takes their mouse off of it)  
* [[MouseMoved (Event)|MouseMoved]] (When the player moves thier mouse on it)  
* [[MouseMoved (Event)|MouseMoved]] (When the player moves their mouse on it)  


=== ImageButton ===
=== ImageButton ===
* [[MouseEnter (Event)|MouseEnter]] (When the player first puts thier mouse over it)  
* [[MouseEnter (Event)|MouseEnter]] (When the player first puts their mouse over it)  
* [[MouseLeave (Event)|MouseLeave]] (When the player first takes thier mouse off of it)  
* [[MouseLeave (Event)|MouseLeave]] (When the player first takes their mouse off of it)  
* [[MouseMoved (Event)|MouseMoved]] (When the player moves thier mouse on it)  
* [[MouseMoved (Event)|MouseMoved]] (When the player moves their mouse on it)  
* [[MouseButton1Click (Event)|MouseButton1Click]] (When the player clicks it w/ left button)  
* [[MouseButton1Click (Event)|MouseButton1Click]] (When the player clicks it w/ left button)  
* [[MouseButton1Down (Event)|MouseButton1Down]] (When the player first holds thier left mouse button down)  
* [[MouseButton1Down (Event)|MouseButton1Down]] (When the player first holds their left mouse button down)  
* [[MouseButton1Up (Event)|MouseButton1Up]] (When the player firsts lets go of thier left mouse button)  
* [[MouseButton1Up (Event)|MouseButton1Up]] (When the player firsts lets go of their left mouse button)  
* [[MouseButton2Click (Event)|MouseButton2Click]] (When the player clicks it w/ right button)  
* [[MouseButton2Click (Event)|MouseButton2Click]] (When the player clicks it w/ right button)  
* [[MouseButton2Down (Event)|MouseButton2Down]] (When the player holds thier right mouse button down)  
* [[MouseButton2Down (Event)|MouseButton2Down]] (When the player holds their right mouse button down)  
* [[MouseButton2Up (Event)|MouseButton2Up]] (When the player firsts lets go of right thier mouse button)  
* [[MouseButton2Up (Event)|MouseButton2Up]] (When the player firsts lets go of right their mouse button)  


=== SelectionBox ===
=== SelectionBox ===
Line 181: Line 181:
=== Handles ===
=== Handles ===
* [[Changed (Event)|Changed]] (When a script changes any property, use this with the adornee)  
* [[Changed (Event)|Changed]] (When a script changes any property, use this with the adornee)  
* [[MouseEnter (Event)|MouseEnter]] (When the player first puts thier mouse over it)  
* [[MouseEnter (Event)|MouseEnter]] (When the player first puts their mouse over it)  
* [[MouseLeave (Event)|MouseLeave]] (When the player first takes thier mouse off of it)  
* [[MouseLeave (Event)|MouseLeave]] (When the player first takes their mouse off of it)  
* [[MouseButton1Down (Event)|MouseButton1Down]] (When the player first holds thier left mouse button down)  
* [[MouseButton1Down (Event)|MouseButton1Down]] (When the player first holds their left mouse button down)  
* [[MouseButton1Up (Event)|MouseButton1Up]] (When the player firsts lets go of thier left mouse button)  
* [[MouseButton1Up (Event)|MouseButton1Up]] (When the player firsts lets go of their left mouse button)  
* [[MouseDrag (Event)|MouseDrag]] (When the player drags the cursor while holding left button down)
* [[MouseDrag (Event)|MouseDrag]] (When the player drags the cursor while holding left button down)


Anonymous user