# Turn Camera Height Smoothing On/Off

Grammar — Turn camera height smoothing enable for player player
FlagsNative | Action

When this is enabled, the camera will transition between terrain height changes smoothly.

# Arguments

Returns — void

native void CameraUseHeightSmoothing(
	int player,
	bool value,
);

Category: Camera / Camera Tricks

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:16748

    VisRevealArea(1, RegionEntireMap(), 0.0, false);
    CameraLockInput(1, true);
    CameraUseHeightSmoothing(1, false);
    CameraSetVerticalFieldOfView(1, false);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:16748

    VisRevealArea(1, RegionEntireMap(), 0.0, false);
    CameraLockInput(1, true);
    CameraUseHeightSmoothing(1, false);
    CameraSetVerticalFieldOfView(1, false);
    return true;

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:366

    VisRevealArea(1, RegionEntireMap(), 0.0, false);
    CameraLockInput(1, true);
    CameraUseHeightSmoothing(1, false);
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:661

    VisRevealArea(1, RegionEntireMap(), 0.0, false);
    CameraLockInput(1, true);
    CameraUseHeightSmoothing(1, false);
}

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCST.galaxy:588

    VisRevealArea(1, RegionEntireMap(), 0.0, false);
    CameraLockInput(1, true);
    CameraUseHeightSmoothing(1, false);
}