14 lines
251 B
Lua
14 lines
251 B
Lua
|
screen[1]._resize {x = 175, width = 128, height = 96} --DOC_HIDE
|
||
|
mouse.coords {x=175+60,y=60} --DOC_HIDE
|
||
|
|
||
|
-- Get the position
|
||
|
print(mouse.coords().x)
|
||
|
|
||
|
-- Change the position
|
||
|
mouse.coords {
|
||
|
x = 185,
|
||
|
y = 10
|
||
|
}
|
||
|
|
||
|
mouse.push_history() --DOC_HIDE
|