Update maps/tests/TriggerMessageApi/script.js

Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
Bénédicte Q 2021-11-08 10:51:18 +01:00 committed by GitHub
parent 7da975749c
commit b9bf27983f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,5 @@
WA.onInit().then(() => {
let message;
console.log('the right place!')
WA.room.onEnterLayer("carpet").subscribe(() => {
message = WA.ui.displayActionMessage({