What does “*” mean in scripting?

I’ve seen people use it but I don’t really know what it means fully.
Is it just multiplying?

2 Likes

In mathematical expressions yes. But few times “*” will describe like ANYTHING.

2 Likes

It multiplies equations together, like

Character.HumanoidRootPart.CFrame.LookVector * 1000

This multiplies the direction the player is facing * 1000
so you would get the position 1000 studs away from where the character is facing.

5 Likes

It is mostly just multiplying

5*5 = 25
4 Likes

Thanks for explaining! This is helpful.

3 Likes