Update Buttons
parent
01418e04b3
commit
22a78e5626
@ -1 +1,8 @@
|
||||
# Buttons are a type that specifies a specific rectangle / sprite you can press.
|
||||
Buttons are a type that specifies a specific rectangle / sprite you can press.
|
||||
|
||||
# Creating a Button
|
||||
`Button(Vector2(0, 0), Vector2(50, 50), function)` - First Vector2 specifies the position, Second Vector2 specifies the size of the rectangle. Function specifies what the button will do when pressed.
|
||||
|
||||
# Creating a SpriteButton
|
||||
You need to have a existing Sprite that you will make a button
|
||||
`SpriteButton(Sprite, function)` -- It will automatically get made into a SpriteButton.
|
Loading…
x
Reference in New Issue
Block a user