Helper Functions
Internal utilities exposed for general use.
- ragapi.getHumanoid(model): Reliable way to find a humanoid.
- ragapi.isR6(character): Returns true if the character uses an R6-based rig.
- ragapi.safeClone(instance): Clones objects that have Archivable set to false. (like players)
- ragapi.getAnimationConstraint(part, character): Finds the constraint object for a specific body part.
Feature & Plugin Detection
Check for API capabilities or installed add-ons.
if ragapi.hasFeature("Animation constraints") then
-- Use advanced physics
end
ragapi.rag.features -- Returns a list of features.
ragapi.dateOfBuild -- Returns the last time this version of RagdollV9 was updated.
if ragapi.hasPlugin("WeightSystem") then
-- Interact with a specific plugin
end
ragapi.getPlugins() -- Returns a list of all active plugin IDs.