functiongenerated
atan2
The angle pointing from the origin towards the point (x, y), in radians. Use it to turn something to face a direction: atan2(dy, dx).
Signature
atan2(y: number, x: number) -> number- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b