How to draw a text character at an angle?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Pranay

I’ve been looking at FontDrawer::draw_char, but haven’t been able to figure out rotation. I would like to be able to specify the rotation of a character, along with its x and y coordinates, while drawing it.

:bust_in_silhouette: Reply From: njamster

You’re looking for draw_set_transform: CanvasItem — Godot Engine (stable) documentation in English