# Using the Math.random function

**URL:** <https://forum.kirupa.com/t/using-the-math-random-function/152990>\
**Category:** Uncategorized\
**Created:** [June 28, 2005, 4:20pm UTC](https://forum.kirupa.com/t/using-the-math-random-function/152990 "2005-06-28T16:20:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pyroki](https://avatars.discourse-cdn.com/v4/letter/p/a87d85/32.png) [@pyroki](https://forum.kirupa.com/u/pyroki)\
**Post date:** [June 28, 2005, 4:20pm UTC](https://forum.kirupa.com/t/using-the-math-random-function/152990/1 "2005-06-28T16:20:59Z")

</div>

k my powerups are working now in my platfrorm game i just need help placing them in random places i dont really know how to use the Math.random() thing so can som1 help me?
