Motion
Get Motion

ReferenceScript nodesMath › Date and Time

Get Day of Week

0 on Sunday to 6 on Saturday, and its name.

Math › Date and TimePure: no flow pinsweekday

Inputs

None.

Outputs

PinType
Resultdayint
Day Namenametext

The code it becomes

The graph below written as a script would write it.

// On Scene Startscene.log(scene.clock.weekday);

In a graph

The node with what starts it and Print to show what it gives, as Studio draws them.