This commit is contained in:
Hartmut Seichter 2019-01-10 10:51:03 +01:00
parent fdf7714d11
commit b2b12b64ab
4 changed files with 73 additions and 51 deletions

View file

@ -76,7 +76,7 @@ w.size = pw.size.new(1200,800)
while w:update()
do
if (pw.input:get().mouse_button > 0) then
if (pw.input:get().mouse_button == 1) then
print(pw.input:get().mouse_position.x,pw.input:get().mouse_position.y)
end