GetModelCFrame (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens No edit summary |
m Text replacement - "<code lua>" to "<SyntaxHighlight code="lua">" Tags: mobile web edit mobile edit |
||
Line 10: | Line 10: | ||
{{Example| | {{Example| | ||
This code would create a model, put some parts in it, position them randomly, and then print its position: | This code would create a model, put some parts in it, position them randomly, and then print its position: | ||
<code lua> | <SyntaxHighlight code="lua"> | ||
local model = Instance.new('Model', Workspace) -- Create a model. | local model = Instance.new('Model', Workspace) -- Create a model. | ||
Revision as of 03:23, 27 April 2023
GetModelCFrame( ) | |
Returns | CFrame |
Description: | Returns the model's CFrame Position. |
Member of: | Model |
Example
{{{1}}}