Is there a way to sense when the screen is touched?
|
01-21-2014, 02:23 AM
(This post was last modified: 01-21-2014 02:24 AM by tgallo.)
Post: #2
|
|||
|
|||
RE: Is there a way to sense when the screen is touched?
you need to constantly be checking in a loop
local touch, X, Y; WHILE ISKEYDOWN(4)<>1 do wait(.1); touch:=mouse(); if size(touch(1)) then if touch(1,5)==0 then X:=B→R(touch(1,1)); Y:=B→R(touch(1,2)); end; end; END; |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Is there a way to sense when the screen is touched? - veeblefester - 01-20-2014, 09:52 PM
RE: Is there a way to sense when the screen is touched? - tgallo - 01-21-2014 02:23 AM
RE: Is there a way to sense when the screen is touched? - Han - 01-21-2014, 02:49 AM
RE: Is there a way to sense when the screen is touched? - veeblefester - 01-21-2014, 06:05 AM
|
User(s) browsing this thread: 1 Guest(s)