Hi guys, im trying to put together a simple mini game 12 Coins, match 3 you win. So far i watched a YouTube clip showing how to make a Coin Flip but if you keep pressing it it keeps flipping. What i want is a Random Selection and how to only Flip Once. Here is the code i have Code (CSharp): public class CoinScript : MonoBehaviour { SpriteRenderer spriteRenderer; public Sprite[] sides; int flipCount = 1; private void OnMouseDown() { StartCoroutine(WaitPlease(0.0001f, 1.0f)); } IEnumerator WaitPlease(float duration, float size) { while(size > 0.1) { size = size - 0.07f; transform.localScale = new Vector3(1, size, 1); yield return new WaitForSeconds(duration); } spriteRenderer.sprite = sides[flipCount % 2]; while (size < 0.99) { size = size + 0.07f; transform.localScale = new Vector3(1, size, size); yield return new WaitForSeconds(duration); } flipCount++; } private void Awake() { spriteRenderer = GetComponent<SpriteRenderer>(); } } Here is a Sample Picture of what im doing Thanks in Advance.