mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2025-01-13 15:56:35 +01:00
11 lines
No EOL
290 B
Text
11 lines
No EOL
290 B
Text
function mouse_click(mouse, focus = true) {
|
|
return focus && mouse_check_button(mouse);
|
|
}
|
|
|
|
function mouse_press(mouse, focus = true) {
|
|
return focus && mouse_check_button_pressed(mouse);
|
|
}
|
|
|
|
function mouse_release(mouse, focus = true) {
|
|
return focus && mouse_check_button_released(mouse);
|
|
} |