love.mousepressed called before or after love.update?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
rita-
Prole
Posts: 4
Joined: Sat Aug 08, 2020 2:09 am

love.mousepressed called before or after love.update?

Post by rita- »

i wanna know if some data is processed in love.mousepressed( or other inputs), will the result be known in current love.update or next frame's love.update?

thanks :crazy:
grump
Party member
Posts: 947
Joined: Sat Jul 22, 2017 7:43 pm

Re: love.mousepressed called before or after love.update?

Post by grump »

All event callbacks are called before update.
Post Reply

Who is online

Users browsing this forum: Amazon [Bot], Google [Bot] and 2 guests