Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
20
Task/Mouse-position/MAXScript/mouse-position.max
Normal file
20
Task/Mouse-position/MAXScript/mouse-position.max
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
try destroydialog mousePos catch ()
|
||||
|
||||
rollout mousePos "Mouse position" width:200
|
||||
(
|
||||
label mousePosText "Current mouse position:" pos:[0,0]
|
||||
label mousePosX "" pos:[130,0]
|
||||
label mousePosSep "x" pos:[143,0]
|
||||
label mousePosY "" pos:[160,0]
|
||||
|
||||
timer updateTimer interval:50 active:true
|
||||
|
||||
on updateTimer tick do
|
||||
(
|
||||
mousePosX.text = (mouse.screenpos.x as integer) as string
|
||||
mousePosY.text = (mouse.screenpos.y as integer) as string
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
createdialog mousepos
|
||||
Loading…
Add table
Add a link
Reference in a new issue