How To get the x and y. touch without using an table.

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
Donut-Dezz
Prole
Posts: 24
Joined: Sat Aug 03, 2019 11:56 am

How To get the x and y. touch without using an table.

Post by Donut-Dezz » Wed Feb 12, 2020 12:42 pm

How To get the x and y. touch without using an table. like example(love,mouse.getPosition) . how to do it in the love.touch. and what do the id mean in the love.touch?

User avatar
raidho36
Party member
Posts: 2050
Joined: Mon Jun 17, 2013 12:00 pm

Re: How To get the x and y. touch without using an table.

Post by raidho36 » Wed Feb 12, 2020 4:24 pm

Touch API is the same as mouse API except there are no buttons. Touch ID indicates which touch you're trying to reference, when there are multiple touches active at the same time.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests