======Look At Target Over Time====== ---- Rotates the camera over a duration of time (in seconds) to point towards the specified entity or coordinate. ====Signature:==== look_at_target_over_time(target, duration) ^Argument^Description^Type^Required^ |target|Target to aim the camera towards.|[[Entity]] or [[Coordinate]]|Yes| |duration|Duration of the rotation (in seconds).|[[Decimal]]|Yes| [[Lock Camera]] must be called before using this function to prevent the player from manually controlling the camera. ====Example:==== look_at_target_over_time(entity["chest01"], 1); //Results:// The camera's angle is adjusted to aim towards the entity with an ID of “chest01” over a duration of one second. Use the **Look At Target Over Time** function to focus on certain characters/events during a cutscene or to indicate to the player that something in the scene has changed. ---- ====Editor Node:==== {{:wiki:look_at_target_over_time_node.png?nolink|}} ====Visual Demo:==== {{:wiki:look_at_target_over_time_demo.gif?nolink|}} ~~NOTOC~~