16 lines
338 B
Lua
16 lines
338 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
|
|
|
|
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|