# Entering the station

<span style="font-weight: 400;">Now we need to create a program to perform the logic for the station. This will consist of multiple events to handle different sections. Create a new program and attach it to the station object.</span>

<span style="font-weight: 400;">Create a new custom event and call it "\_EnterStation". This event will be used to enter the station. There are three items that need to happen here:</span>

1. <span style="font-weight: 400;">Set the station mobility to Mobile</span>
2. <span style="font-weight: 400;">Take ownership over the object sync object</span>
3. <span style="font-weight: 400;">Have the local player enter the station.</span>

[![EnterStation UdonGraph](https://i.imgur.com/OXvvreJ.png)](https://i.imgur.com/OXvvreJ.png)[![EnterStation UdonSharp](https://i.imgur.com/KLPh73Z.png)](https://i.imgur.com/KLPh73Z.png)[![EnterStation CyanTrigger](https://i.imgur.com/tiwse5o.png)](https://i.imgur.com/tiwse5o.png)

<span style="font-weight: 400;">Outside of the station object and in the Origin object's program, add a SendCustomEvent to enter the station. This will automatically update all buttons to properly enter the station, and enter the system.</span>

[![Update Origin Program UdonGraph](https://i.imgur.com/ukGfVhd.png)](https://i.imgur.com/ukGfVhd.png)[![Update Origin Program UdonSharp](https://i.imgur.com/27wsoLB.png)](https://i.imgur.com/27wsoLB.png)[![Update Origin Program CyanTrigger](https://i.imgur.com/K7wUpgl.png)](https://i.imgur.com/K7wUpgl.png)