# Randomize location every minute

**URL:** <https://discourse.processing.org/t/randomize-location-every-minute/49849>\
**Category:** Coding Questions\
**Tags:** homework\
**Created:** [November 1, 2026, 11:21pm UTC](https://discourse.processing.org/t/randomize-location-every-minute/49849 "2026-11-01T23:21:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aryakarki06](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@aryakarki06](https://discourse.processing.org/u/aryakarki06)\
**Post date:** [November 1, 2026, 11:21pm UTC](https://discourse.processing.org/t/randomize-location-every-minute/49849/1 "2026-11-01T23:21:08Z")

</div>

hello! i am a beginner trying to create a project where a bee moves between 3 flowers. there are 3 set flower locations, and each minute, the bee will randomly choose one of the 3 flowers to fly to. if anyone could help me figure out how to write the code so that the bee chooses one of 3 coordinate sets every minute and glides to that spot, i would really appreciate it!
