Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Joeclinton1 committed Nov 21, 2023
1 parent f0fa93b commit 61c17a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Materials.newMaterial \\(label [Red] pointer to secondary colour material [ ] sf
`}
</ScratchBlocks>

To assign a specific material to a GameObject, just insert that materials name in the `name` input slot when creating the GameObject. E.g to make the `Start` Platform use the material `Yellow` we do:
To assign a specific material to a GameObject, just insert that materials label in the `Material` input of slot when creating the GameObject. E.g to make the `Start` Platform use the material `Yellow` we do:
<ScratchBlocks>
{`
GameObjects.createCuboid \\(Scale [2] [0.2] [2] Position [0] [0] [0] Rotation [ ] [ ] [ ] Material [Yellow] name [Start]\\) :: custom
Expand Down

0 comments on commit 61c17a2

Please sign in to comment.