Coding help! Urgent!

I need help with coding tappable/pannable overlays.
Everything works fine but the problem is it doesn’t let me pan the screen and I did everything the same as here

And I don’t understand where the problem is; I put all my overlays and I put the tappable [pan:1:2] but it doesn’t work and there are no errors (only the one showing the overlays aren’t approved yet but I don’t think that’s an issue)

Can someone help me out here /:

Can I see your script?

1 Like

sure

    NARR
Pan the zone to look for the thing Zara is looking for.

tappable [pan:1:2]
“TEDDY BEAR” {

&ui TEDDY BEAR moves to layer 20
@ui BLURRED LR opacity 1 in 2.5

@pause for 1

    NARR
Is this what Zara is looking for?

choice
“Well of course it is, duh.” {

    ZARA
Why would I need a teddy bear??
Try again.

goto mini_game

} “I’m not sure, lemmie look again.” {

    ZARA
Smart move kid.

goto mini_game
}

} “COALA BEAR” {

&ui COALA BEAR moves to layer 20
@ui BLURRED LR opacity 1 in 2.5

@pause for 1

    NARR
Is this what Zara is looking for?

choice
“Well of course it is, duh.” {

    ZARA
Why would I need a coala bear??
Try again.

goto mini_game

} “I’m not sure, lemmie look again.” {

    ZARA
Smart move kid.

goto mini_game

}

} “KEYS” {

&overlay KEYS moves to layer 20
@ui BLURRED LR opacity 1 in 2.5

@pause for 1

    NARR
Is this what Zara is looking for?

choice
“Well of course it is, duh.” {

    ZARA
Yup.
Thank you!! ♥️♥️♥️

goto end_mini_game

} “I’m not sure, lemmie look again.” {

    ZARA
Bad move kid.

goto mini_game

}

} “BACKPACK” {

&ui BACKPACK moves to layer 20
@ui BLURRED LR opacity 1 in 2.5

@pause for 1

    NARR
Is this what Zara is looking for?

choice
“Well of course it is, duh.” {

    ZARA
Why would I need Rafaels backpack??
Yuck.
Try again.

goto mini_game

} “I’m not sure, lemmie look again.” {

    ZARA
Smart move kid.

goto mini_game

}

} “COFFEE CUP” {

&ui COFFEE CUP moves to layer 20
@ui BLURRED LR opacity 1 in 2.5

@pause for 1

    NARR
Is this what Zara is looking for?

choice
“Well of course it is, duh.” {

    ZARA
Why would I need coffee??
Who knows how old it is.
Try again.

goto mini_game

} “I’m not sure, lemmie look again.” {

    ZARA
Smart move kid.

goto mini_game

}

} “EARPHONES” {

&ui EARPHONES moves to layer 20
@ui BLURRED LR opacity 1 in 2.5

@pause for 1

    NARR
Is this what Zara is looking for?

choice
“Well of course it is, duh.” {

    ZARA
Why would I need earphones??
Aren't air pods better? 😎
Try again.

goto mini_game

} “I’m not sure, lemmie look again.” {

    ZARA
Smart move kid.

goto mini_game

}

} “LAPTOP” {

&ui LAPTOP moves to layer 20
@ui BLURRED LR opacity 1 in 2.5

@pause for 1

    NARR
Is this what Zara is looking for?

choice
“Well of course it is, duh.” {

    ZARA
Nah, I don't need it right now.
Try again.

goto mini_game

} “I’m not sure, lemmie look again.” {

    ZARA
Smart move kid.

goto mini_game

}

} “ROXY BED” {

&ui ROXY BED moves to layer 20
@ui BLURRED LR opacity 1 in 2.5

@pause for 1

    NARR
Is this what Zara is looking for?

choice
“Well of course it is, duh.” {

    ZARA
What do you want me to do here?
Sleep??
Not gonna happen pal.
Try again.

goto mini_game

} “I’m not sure, lemmie look again.” {

    ZARA
Smart move kid.

goto mini_game

}

} “SKATEBOARD” {

&ui SKATEBOARD moves to layer 20
@ui BLURRED LR opacity 1 in 2.5

@pause for 1

    NARR
Is this what Zara is looking for?

choice
“Well of course it is, duh.” {

    ZARA
And what should I do with this??
Go skating??
I'm too clumsy for that.
Try again.

goto mini_game

} “I’m not sure, lemmie look again.” {

    ZARA
Smart move kid.

goto mini_game

}

} “STARKE” {

&ui STARKE moves to layer 20
@ui BLURRED LR opacity 1 in 2.5

@pause for 1

    NARR
Is this what Zara is looking for?

choice
“Well of course it is, duh.” {

    ZARA
Ew this stinks.
Try again.

goto mini_game

} “I’m not sure, lemmie look again.” {

    ZARA
Smart move kid.

goto mini_game

}

}

label end_mini_game

I didn’t put the shift and scaling part , but if you want I can put it

Did you change the opacities so they’re visible?

no, they work perfectly fine: they are tappable, I only cannot pan the screen

Oh.
I don’t know then, sorry. :worried:

1 Like

it’s okay /:

bump

bump

Try adding a second closing bracket }} after the second choices within your branches. :thinking:

Edit: Never mind, I’ve seen them, but perhaps try removing the spaces you have between each branch:

goto mini_game
}

} “COALA BEAR” {



goto mini_game
}} “KOALA BEAR” {

Side note: Koala Bear.

Also, do any of your ui overlays have a large transparent area that could be interfering with the ability to pan?

1 Like

umm when i had my tappable overlays i had to wait till they was approved

;Tell me if it works :thinking:

they were approved 3 hours ago and it still doesn’t work

nope, still doesn’t work
and no, there is none of transparent area

I’m still trying to see what could be causing it, but I noticed that you wanted the reader to pan the screen to look for the items, but I was wondering why you have the items as ui overlays? That would attach them to the same spot on the screen regardless of panning. :sweat_smile:

I know, they aren’t supposed to move anywhere so I wanted to try usig ui since it’s shorter :joy:

The only thing I can think of to try is changing the ui item overlays to normal overlays and see if that actually fixes it or not. :skull:

1 Like

nevermind I got it
@Sydney_H please close this :hugs:

1 Like

Closed by OP request. :smiley: