thanks for the reply! I tried this one! its not calculating the object position correctly and i think its more like radar where the player is always in the center! my player is not in the center!
what i am using at the moment is
For Each "obj_flags" system>create minimap_flags on layer HUD at hud_minimap.X+obj_flags.X*hud_minimap.Width/LayoutWidth
But i don't know why For Each is creating objects every frame! it should create only 1 object on mini map for each instance right? and If I move the line of code under "On Start of Layout" it create only once which I want! but the problem with this is! if I hit any flag on the level! it will destroy all the instances on the mini map!