Skip to content

Instantly share code, notes, and snippets.

@psql
Created October 22, 2019 21:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psql/b3b77cb0c0cab3478c63c5017a932a48 to your computer and use it in GitHub Desktop.
Save psql/b3b77cb0c0cab3478c63c5017a932a48 to your computer and use it in GitHub Desktop.
Toggle skeleton
if (`whatIs "$jointState"` == "Unknown") {
$jointState = 0;
}
if ($jointState == 1) {
hideShow -joints -show;
$jointState = 0;
} else {
hideShow -joints -hide;
$jointState = 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment