Last active
May 27, 2019 21:01
-
-
Save uxBrad/12dcbe7d307244d40c44f04a56eecedd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var clickDistance = dist ( mouseX, mouseY, currentLetterToFind[1], currentLetterToFind[2] ) | |
if (clickDistance < 50 ){ | |
var currentLetterIndex = alphabet.indexOf(currentLetterToFind) | |
var nextLetterIndex = currentLetterIndex + 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment