Vector2
transform
Vector3
2d images in games are called sprites
They're drawn on screen with the Sprite Renderer component
RaycastHit2D hit = Physics2D.Raycast(line.transform.position, line.transform.up, lineDistance);
For grid-based movement, see this thread: Unity answers: Moving on a grid