Garry's Mod Wiki

Entity:PlayFootstepSound

  Entity:PlayFootstepSound( boolean isLeftFoot, number volume )

Recently Added

This was recently added in version (2026.07.01). It might only be available on the Dev Branch right now.

Description

Plays a sound of a step depending on the surface below. If the entity has attachments "RightFoot" or "LeftFoot" the surface check will be performed below them.

Arguments

1 boolean isLeftFoot
Determines whether the step is a right foot or a left foot.
2 number volume
The volume, from 0 to 1.