$ 0 0 Have a variable that starts at zero. Increase it by one when the game object collides. When this variable reaches 2, then execute your command.