Search found 1 match

by ethaboy
Fri Oct 14, 2022 3:13 pm
Forum: Support and Development
Topic: function love.mousepressed(x, y, button, istouch, presses ) code line not working
Replies: 2
Views: 2067

function love.mousepressed(x, y, button, istouch, presses ) code line not working

Hi, would like some help with the code line it seems to not be working and i am new to love and don't fully understand function love.mousepressed(x, y, button, istouch, presses ) if button == 1 then score - score + 1 end end it is supposed to draw a circle this code would make it so when pressed is ...