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: 25
Joined: Sat Aug 03, 2019 11:56 am

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

Post by Donut-Dezz »

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: 2063
Joined: Mon Jun 17, 2013 12:00 pm

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

Post by raidho36 »

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: Bing [Bot], Google [Bot] and 2 guests