Event.pressure The 3d touch

I just read about a new function which came to corona sdk and according to me its really cool so my questions are

1:- How to use this command which is event.pressure()… i read about this in api but found nothing so expecting better answers from you guys

2:- Is this function works with games or only apps

3:- What if we run this function on non supportive device…it will stop running or it will only exclude the features of that function!!

This function works with any app, this is only the case if the phone was pressure-sensitive touch, and not many phones out there have that. On a non-supportive device the features will be excluded, I do not believe there will be a crash, but it is safe to check.

For event.pressure you could use it in an if statement: 

if event.pressure == 2.0 then --do something different end

Ya Ya but i need an example…Well Thanx u Are genious

What do you want to do with event.pressure()?

For example when my screen apears(home screen) in my game then if I want that people just have to pressure the sound button and after that they can drag the sound…just like iPhone6s and now instagram also adopted this(if you ever noticed)

Drag the sound button? You could check something like 

if event.pressure \> 1.0 then --make object draggable end

I think event.pressure is a floating point number. It will be pretty rare for it to exactly equal 2.0. Doing something like:

if event.pressure >= 2.0 then

is a better test.

Rob