Box Emitting Coins

How do I get a box to emit coins when the player hits it?

Like Mario?

Use the Collision and the Emit Behaviour for this.

Yes like in Mario. I’ve looked up ways before, but can’t quite figure it out.

1
2

Just change the objects

@PixelPizza that angle should be 270…

Also see the first game on the examples page: http://flowlab.io/examples