I have this cose:
Set position to x=choose(0,LayoutWidth) y=choose(0,LayoutHeight)
Which positions the tiled background on one of the corners, I now need to rotate it towards the opposite angle. The hotspot is on the left-corner so:
Position x=0,y=100 the opposite corner should be on x=100, y=0.
To do it I did this:
Set angle toward: x=abs(self.X-LayoutWidth) y=abs(self.Y-LayoutHeight)
but it isn't correct because the background is now positioned diagonally, how can I fix this?
Thanks and I hope I was able to explain myself.