Trying to implement accelerameter into my game, can't figure out what to change it to. I initially wanted buttons to move the player left and right in a 2d space but it got too complicated. The original code Code (CSharp): using UnityEngine; using System.Collections; public class Paddle : MonoBehaviour { public float paddleSpeed = 1f; private Vector3 playerPos = new Vector3 (0, -9.5f, 0); void Update () { float xPos = transform.position.x + (Input.GetAxis("Horizontal") * paddleSpeed); playerPos = new Vector3 (Mathf.Clamp (xPos, -8f, 8f), -9.5f, 0f); transform.position = playerPos; } } How would i convert the get axis to input.acceleration? I keep getting errors