Unity beginner tutorial. Learn how to animate and control a 2D sprite using only mouse input.

● Download free helicopter animation sprites here :
http://paulmakegames.blogspot.com/2017/04/attack-helicopter-animated-sprite.html (by Paul Chin)

● Download Unity here:

● Music by: Max McFerren

Helicopter script:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Helicopter : MonoBehaviour {

  void Update () {

        if (Input.GetMouseButton(0))
            transform.Translate(0f, 0.1f, 0f);
        else {
            transform.Translate(0f, -0.1f, 0f);