Skip to content
Bartholomew Ho edited this page Nov 10, 2026 · 3 revisions

FH2 Mod Platform for .NET lets you write FH2 Mod Platform mods for Forza Horizon 2 in C# or VB.NET. You don't need addresses, hooks or memory reads: the FH2 classes give you the game itself.

ANNA.Items("Car").Add("Repair", Sub() Player.Car?.Repair())
AddHandler Game.Tick, Sub() If Player.Car?.SpeedKmh > 300 Then UI.Notify("Slow down", "")
If World.Waypoint IsNot Nothing Then Player.TeleportTo(World.Waypoint.Value)

0.10.0 is a preview. The API can still change before 1.0, and some classes haven't been tested much in the game yet. See Known issues.

Where to start

I want to… Read
Play with .NET mods Installing, then Troubleshooting if something's wrong
Try it out with one file and no project Scripts
Write a mod Your first mod in C# or Your first mod in VB
Look something up The class pages in the sidebar, starting with Game and Player
Work on the SDK itself Building this repo in the README

What's in the box

  • The platform API in .NET: game text, title-screen entries, files, the game database, settings, pages, hotkeys, commands, hooks and patches.
  • The FH2 classes: your car and every other car, the world, the HUD, sounds, the controller, menus, the mouse and keyboard, and FH2 ANNA's menu.
  • Two ways to ship: hosted (rebuild and reload while the game runs) or NativeAOT (one DLL, like any C++ mod). See Hosted or NativeAOT?.
  • Scripts: drop a .cs or .vb file in a folder and it runs. See Scripts.
  • A console (~ in game): the log as it's written, and a prompt for every mod's commands.

Clone this wiki locally