function Swing(){ if(null in { player.x + 3, player.y + 1.5 } ){ triggeraction(player.x + 3, player.y + 1.5, "Contact", player.account); player.chat = "Contact!"; }else{ player.chat = "No contact!"; } }