How I can instruction event.object1.nome & event.object2.nome event.phase == "began"

Hi

I’m new user for Corona.I’m creating an app.

I’m using physics and onGlobalCollision.

How I can make this instruction with a if

print( “Global report: " … event.object1.nome … " & " … event.object2.nome … " collision began” )

example

if (event.object1.nome & event.object2.nome event.phase == “began”)

print(“Began collins beetween”… event.object1.nome &event.object2.nome )

Tkank you [import]uid: 100428 topic_id: 20323 reply_id: 320323[/import]

Hard to understand your question but i guess it would look like :

[code]

if event.phase == “began” then
if event.object1.nome and event.object2.nome then
–Do whatever
end
end [import]uid: 84637 topic_id: 20323 reply_id: 80083[/import]