---
id: math-acos
name: Math.acos
category: math
kind: namespace-method
tokens: Math.acos
sig: Math.acos(x) -> fixed
tip: The arccosine of a value, in radians.
order: 28
ns: Math
member: acos
---
Returns the angle in radians whose cosine is x, in 0..pi. The input should be in -1.0..1.0. Handy for recovering the angle between two normalized directions from their dot product.
```ludic
program Demo {
handler Step phase Update {
let between = Math.acos(dot)
}
}
```