Create a graphics object with the appropriate shape and color and one fixed orientation. Now parent it to an hgtransform group. Use maketform to create a transformation matrix of rotations and translations, apply that.
Now, as the marker is to "move", update the transformation matrix and apply it to the hgtransform group; the marker will turn or move as appropriate.
If you use an image() object for this purpose, make sure that you use AlphaData with it so that only the structure of the marker shows and whatever is underneath shows through the rest of the rectangle.