Skip to content

Instantly share code, notes, and snippets.

@xhiroga
Created November 15, 2017 14:12
Show Gist options
  • Save xhiroga/069c616b270e32884416ce8bd905dc34 to your computer and use it in GitHub Desktop.
Save xhiroga/069c616b270e32884416ce8bd905dc34 to your computer and use it in GitHub Desktop.
script for Napstablook camera effect
const D = require('Diagnostics');
const Scene = require('Scene')
const TouchGestures = require('TouchGestures');
const heart = Scene.root.find('heart');
TouchGestures.onTap().subscribe((e) => {
heart.hidden = false;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment