Sensing + iOS compability #1690
Eaielectronic
started this conversation in
Ideas
Replies: 2 comments
-
`
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
there will be an extension called Mobile Touch. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Would it be possible to create an extension with the JavaScript Touch events API to create a version of sensing + compatible with iOS and any mobile device. I have already tried a code that returns positions and number of touches.
`// Définition de l'extension multi-touch
class MultiTouchExtension {
constructor() {
// Initialise une liste des touches actives
this.activeTouches = [];
}
// Enregistrement de l'extension dans TurboWarp
Scratch.extensions.register(new MultiTouchExtension()); `
Beta Was this translation helpful? Give feedback.
All reactions