diff --git a/src/guide/host-functions/agent-operations.rst b/src/guide/host-functions/agent-operations.rst index cbe274105..eb20411e1 100644 --- a/src/guide/host-functions/agent-operations.rst +++ b/src/guide/host-functions/agent-operations.rst @@ -157,7 +157,7 @@ Agent populations can also be sorted according to a variable, the C++ API can ad # Retrieve the host agent tools for agent sheep in the default state sheep = FLAMEGPU.agent("sheep"); # Sort the sheep population according to their health variable - sheep.sortFloat("health", pyflamegpu.ASC); + sheep.sortFloat("health", pyflamegpu.HostAgentAPI.ASC); .. _Host Agent Creation: