# I dont get what this event:Event thing is

**URL:** <https://forum.kirupa.com/t/i-dont-get-what-this-event-event-thing-is/321059>\
**Category:** flash\
**Created:** [April 9, 2011, 4:06am UTC](https://forum.kirupa.com/t/i-dont-get-what-this-event-event-thing-is/321059 "2011-04-09T04:06:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zaartt](https://avatars.discourse-cdn.com/v4/letter/z/65b543/32.png) [@zaartt](https://forum.kirupa.com/u/zaartt)\
**Post date:** [April 9, 2011, 4:06am UTC](https://forum.kirupa.com/t/i-dont-get-what-this-event-event-thing-is/321059/1 "2011-04-09T04:06:30Z")

</div>

I dont get what this event:Event argument thingy is in this code plz explain to me in a simple explanation im a total begginer

"import flash.events.Event;  
//First I defined a function where all of  
//the code needed to start the game is placed  
//This includes listeners, variable definitions, and other stuff  
function beginCode():void{  
//Adds a listener to the paddle which  
//runs a function every time a frame passes  
mcPaddle.addEventListener(Event.ENTER\_FRAME, movePaddle)  
}

function movePaddle(event:Event):void{  
//The paddle follows the mouse  
mcPaddle.x = mouseX - mcPaddle.width/2  
//If the mouse goes off too far to the left  
}

beginCode();  
"
