# Problem with math :/

**URL:** <https://forum.kirupa.com/t/problem-with-math/239575>\
**Category:** flash\
**Created:** [September 23, 2007, 6:18pm UTC](https://forum.kirupa.com/t/problem-with-math/239575 "2007-09-23T18:18:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sekasi](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@sekasi](https://forum.kirupa.com/u/sekasi)\
**Post date:** [September 23, 2007, 6:18pm UTC](https://forum.kirupa.com/t/problem-with-math/239575/1 "2007-09-23T18:18:34Z")

</div>

I’m trying to find a random x,y value that always is at the far end of a circle.

Like if the circle has a diameter of 300 pixels and the centerpoint is at 50,50, I want a random position on the outskirts of that circle.

Just cant seem to do it. Anyone paid attention in school?
