The item block should spawn a P-Switch When colliding with the top of the P-Switch all Breakable Blocks should switch to coins (except these coins don't animate, since they're temporary) for exactly 10 seconds In addition, all the Coins should switch to Breakable Blocks For the P-Switch you will need to create the GameObject and attach the necessary components including a PSwitch script Create a prefab for the P-Switch GameObject and set the P-Switch prefab in the Game script and spawn it like we do other Item Box pickups You'll need to modify the ItemBox script to be able to set the PSwitch as the contents and then invoke Game to spawn it when mario hits the bottom of the ItemBox it doesn't need an Update method, and it only has two states, active and inactive (there's a corresponding Sprite for each state) Implement the OnCollisionEnter2D (not a trigger) If the colliding object is Mario check the collision normal and ensure the top of the PSwitch was hit If Mario collides with the top of the PSwitch, change the state (and the sprite) set the collider to a be a trigger and the have the Game script switch the coins and breakable blocks In the Game script you will need to implement a method that is to be called from the PSwitch script to switch the Coins and breakable blocks First setup a timer to run for 10 seconds To achieve switching the Blocks and Coins, you need to get all the objects in the Scene of the same type using the FindObjectsByType<>() method You will need to get both the CoinPickup objects AND the BreakableBlock objects in the scene before doing any other logic Once you have arrays for BOTH types of objects, loop through the array of CoinPickup objects, store their location in a local variable, then destroy the object and at their location spawn a BreakableBlock object Then loop through the array of BreakableBlock objects, store their location in a local variable, then destroy the object and at their location spawn a CoinPickup object This CoinPickup object should not animate (since it's temporary), you'll need to modify the CoinPickup script and the Game script to achieve this In the Update method countdown the 10 second timer than we setup, when its completed, you need to reverse the coin and breakable block objects back to their original state