# Tutorial: Learning to Drive

**URL:** <https://forums.unrealengine.com/t/tutorial-learning-to-drive/1275490>\
**Category:** Tutorial & Course Discussions\
**Tags:** unreal-engine\
**Created:** [August 28, 2023, 3:43pm UTC](https://forums.unrealengine.com/t/tutorial-learning-to-drive/1275490 "2023-08-28T15:43:16Z")\
**Posts on this page:** 1\
**Showing post:** 117

<div class="post-metadata">

**Author:** ![Deathcalibur](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/deathcalibur/32/1037610_2.png) [@Deathcalibur](https://forums.unrealengine.com/u/Deathcalibur)\
**Post date:** [February 21, 2024, 2:41pm UTC](https://forums.unrealengine.com/t/tutorial-learning-to-drive/1275490/117 "2024-02-21T14:41:40Z")

</div>

Oh sorry I’ve been using the latest version of the code on ue5-main that I forgot what the API looked like in 5.3.

Look at these functions on the Policy:

```auto
	/**
	 * Load a snapshots weights into this policy.
	 * @param File The snapshot file.
	 */
	UFUNCTION(BlueprintCallable, Category = "LearningAgents", meta = (RelativePath))
	void LoadPolicyFromSnapshot(const FFilePath& File);

	/**
	 * Save this policys weights into a snapshot.
	 * @param File The snapshot file.
	 */
	UFUNCTION(BlueprintCallable, BlueprintPure = false, Category = "LearningAgents", meta = (RelativePath))
	void SavePolicyToSnapshot(const FFilePath& File) const;

```

---

_[View the full topic](https://forums.unrealengine.com/t/tutorial-learning-to-drive/1275490)._
