(solved)Dont know how to set position on object creation

I have a collectable block, that spawns every once in awhile. I need to know how to set its x position ONLY when the objects created.

What’s wrong with your current method?

Given the creation position of the collectable block is the position of the spawn object, move the spawn object around randomly before the collectable block is spawned/