# Functions are cool

**URL:** <https://talk.code3dgames.com/t/functions-are-cool/601>\
**Category:** Uncategorized\
**Created:** [March 31, 2023, 3:52am UTC](https://talk.code3dgames.com/t/functions-are-cool/601 "2023-03-31T03:52:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin](https://talk.code3dgames.com/user_avatar/talk.code3dgames.com/martin/32/41_2.png) [@Martin](https://talk.code3dgames.com/u/Martin)\
**Post date:** [March 31, 2023, 3:52am UTC](https://talk.code3dgames.com/t/functions-are-cool/601/1 "2023-03-31T03:52:33Z")

</div>

I was working on a game that was inspired by flappy bird.  
I made a function to create new pipes for the player to dodge.  
How do I make it so that the pipes move towards the player.  
How do I let the pipes generate?

My code URL is: [https://is.gd/XqRZxu](https://is.gd/XqRZxu)
