Found an example in one of my old threads
SetWindowSize(1024, 768, 0)
SetWindowAllowResize(1) // allow the user to resize the window
// set display properties
SetVirtualResolution(1024, 768) // doesn't have to match the window
SetOrientationAllowed(1, 1, 1, 1) // allow both portrait and landscape on mobile devices
SetSyncRate(30, 0) // 30fps instead of 60 to save battery
SetScissor(0, 0, 0, 0) // use the maximum available screen space, no black borders
UseNewDefaultFonts(1) // since version 2.0.22 we can use nicer default fonts
sprite = CreateSprite(0)
do
i = i + 4
SetSpritePositionByOffset(sprite, (50 * cos(i)) + 512, 50 * sin(i) + 384)
SetSpriteAngle(sprite, i + 180)
Sync()
loop
The first number before the multiplier (50) is the distance from the centre. And the other numbers 512 and 384 is where the centre point is. I chose the middle of the screen.
The angle line keeps it facing a particular way. You will need to place an image on it like a triangle and play around with the angle to make sure it's facing the right way etc. It should be a good starting point if you want to add this to keys or touch to move the sprite around the circle.
OryUI - A WIP AGK2 UI Framework