GetMarkerReachedSignal's code sample uses GetKeyframeReachedSignal, which doesn't exist

https://developer.roblox.com/api-reference/function/AnimationTrack/GetMarkerReachedSignal

The code sample:

    local player = game.Players:GetChildren()[1]
    local character = game.Workspace:WaitForChild(player.Name)
    local humanoid = character:WaitForChild("Humanoid")
     
    local anim = Instance.new("Animation")
    anim.AnimationId = "rbxassetid://437855404"
    local animTrack = humanoid:LoadAnimation(anim)
     
    animTrack:GetKeyframeReachedSignal("FootStep"):Connect(function(value)
        print(value)
    end)
    animTrack:Play()

Uses GetKeyframeReachedSignal, which doesn’t exist (not to mention, it isn’t what the article is about).

3 Likes

Just was about to make a post about this.

1 Like

Docs still outdated on this. From: Sync footstep sounds with math?

1 Like

Just ran into this myself, who does one contact to try and get this updated?

1 Like