Skip to content

Instantly share code, notes, and snippets.

@crestinglight
Created March 19, 2017 17:35
Show Gist options
  • Save crestinglight/0f1deb1bea8b9b1f9d62c5199628bae1 to your computer and use it in GitHub Desktop.
Save crestinglight/0f1deb1bea8b9b1f9d62c5199628bae1 to your computer and use it in GitHub Desktop.
def validateXY(x, y)
intX = x.to_i
intY = y.to_i
if (intX > 380) && (intX < 419) && (intY > 262) && (intY < 302)
return true
else
return false
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment