Deprecation is when a class or a member of a class is superseded by another class or member of a class (mostly for compatibility & features) and is discouraged by Roblox to use such class or member of a class. These classes are hidden from users and do not normally appear on the Developer API Reference unless enabled by the user. It is advised to not use these because some of these classes will not maintain support and will eventually become obsolete. However, it is believed that Roblox still gives the deprecated role usually instead of removing the class or member of a class entirely because older games may still use deprecated classes or deprecated members of classes.
Examples of deprecated classes/members of classes would be:
Mousewas superseded byUserInputServiceandContextActionService, which are more suitable for cross-platform patterns & have more features.[1]MeshPart.MeshIDwas superseded byMeshPart.MeshIdfor unknown reasons.[2]Flagwas deprecated and was not superseded by anything because Roblox wants developers to design their own flag systems now.[3]Hintwas deprecated and was superseded byTextLabel, which is more feature-rich.[4]DoubleConstraintedValue&IntConstraintedValuewere deprecated because developers could use themath.clamp()function to constraint values (set a Double/Integer value with a minimum & maximum value.)[5][6]
Deprecated Classes[]
HatAuroraScriptObjectBodyMoverBodyAngularVelocityBodyForceBodyGyroBodyPositionBodyThrustBodyVelocityRocketPropulsionSkinPlaneCustomEventCustomEventReceiverBevelMeshCylinderMeshHoleMotorFeatureFunctionalTestGuiMainFloorWireSelectionPartLassoSelectionPointLassoHopperRotatePRotateVGlueManualSurfaceJointInstanceManualGlueManualWeldRotateSnapJointsServiceMessageHintFlagStandSkateboardPlatformHopperBinFlagStatusPointsServiceDoubleConstrainedValueIntConstrainedValue
Deprecated Members[]
References[]
- ↑ https://developer.roblox.com/en-us/api-reference/class/Mouse
- ↑ https://developer.roblox.com/en-us/api-reference/property/MeshPart/MeshId
- ↑ https://developer.roblox.com/en-us/api-reference/class/Flag
- ↑ https://developer.roblox.com/en-us/api-reference/class/Hint
- ↑ https://developer.roblox.com/en-us/api-reference/class/DoubleConstrainedValue
- ↑ https://developer.roblox.com/en-us/api-reference/class/IntConstrainedValue