# How to use angles to set VehicleSeat's Steer Property?

Long story short, I made this script

``````game:GetService("RunService").Heartbeat:Connect(function()
local Part2 = workspace.AttentionPart
local VectorPosition = Part2.Position

local CframeVector = script.Parent.CFrame.Position

local Radian = math.acos(math.clamp(VectorPosition.Unit:Dot(CframeVector.Unit), -1, 1))
local DegreesRAW = Radian * 180/math.pi
local DegreesConverted = math.floor(DegreesRAW)

if DegreesConverted > 90 then
print(tostring(1))
elseif DegreesConverted < -90 then
print(tostring(-1))
elseif DegreesConverted < 90 then
print(tostring(0.5))
elseif DegreesConverted > -90 then
print(tostring(-0.5))
end
end)
``````

I needed to use this to calculate the steering angle needed to turn the car as i am making a car AI system. However, im having issues using angles to set the vehicleSeat’s steer property since instead of using angles, it uses any value between -1 and 1. How can I make this possible?

https://developer.roblox.com/en-us/api-reference/property/VehicleSeat/SteerFloat

The `SteerFloat` property behaves similarly to the `Steer` property but it allows for any number value within the range of -1 to 1 to describe the vehicle’s steering.

-1 would describe a left (90 degrees anticlockwise) steer from the vehicle’s current direction, 1 would describe a right (90 degrees clockwise) steer from the vehicle’s current direction and 0 would represent no steering whatsoever.

The duration at which the `SteerFloat` property is set for in unison with the vehicle seat’s `TurnSpeed` property will determine how sharply the vehicle steers.

https://developer.roblox.com/en-us/api-reference/property/VehicleSeat/TurnSpeed