GMS 2.3+ Item falls after breaking an object

1tsmey0sh1

Member
So I have an object for example a tree i want it to drop a fruit after breaking it but i dont want every single tree to drop a fruit i want it to have a 50% chance of dropping a fruit and a 50% chance of it not dropping a fruit. But idk how to code this and i cant find a tutorial showing me how to do it.
 
Top