Throttling the FPS programmatically

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

Hi everybody.I’m new to Godot and I want to know is it possible to throttle the FPS programmatically,not via Project Settings?

:bust_in_silhouette: Reply From: kidscancode

Engine.target_fps: