Delay apparition

Hey I know this question has been asked a lot but I’ve tried every answer and cut figure out why it’s not working for me.
I am working on my project on editor X, for the Homepage I am displaying a quick intro video (12s) and right at the end I want to make appear my button to enter the website.
this is my code

$w . onReady ( function () {
const millisecondsToDelay = 10000 ;
setTimeout (() => {
$w ( ‘#button1’ ). show ();
}, millisecondsToDelay )
});
could someone Help me please :sob:

You can use the builtin delay on the .show() method.

let showOptions = {
    "duration": 2000,
    "delay": 1000
}
$w("#button1").show("fade", showOptions)

Hi thank you for your answer but it don’t work for me… maybe I write it at the wrong place I don’t know, it’s my first time using velo

@elliottbiton did you put the code I showed you inside the onReady function, like this:

$w.onReady(() => {
    let showOptions = {
        "duration": 2000,
        "delay": 1000
    }
    $w("#button1").show("fade", showOptions)
})

@bwprado yes of course ! But I didn’t work… i don’t know what to do

@elliottbiton can you copy and paste all your code in here so I can check it out?