Code question

Hi I just wanted to know the most basic way for me to get my project to work.

I am making a tank type robot.

Parts list:
Tank Chassis
Arduino UNO.
DFRobot Arduino Compatible Motor Shield (2A)
SeeedStudio Ultrasonic Range Finder
kingmax KM0918A mini servo
and a Parallax 4-Directional Tilt Sensor

The main thing I am having a problem with is how I would add the tilt sensor into the code and retrieve the tilt data for later use.

Thank you for your time.

How about some links to data sheets to start?

he main thing I am having a problem with is how I would add the tilt sensor into the code and retrieve the tilt data for later use.

The main problem we're having is seeing your code.

how I would add the tilt sensor into the code and retrieve the tilt data for later use.

You read the sensor then put the results into a variable. Then later you use the variable for what ever purpose you want.