How do I use the FleePath Script?

Hi, I am using AIPath with Visual Scripting, and I am not very familiar with coding.
How should I use the FleePath script? I am guessing I should copy paste it somewhere.

Hi

In code you’d do something like:

// Disable the automatic path recalculation
ai.canSearch = false;
var pointToAvoid = enemy.position;
// Make the AI flee from the enemy.
// The path will be about 20 world units long (the default cost of moving 1 world unit is 1000).
var path = FleePath.Construct(ai.position, pointToAvoid, 1000 * 20);
ai.SetPath(path);

No problem, I’ve figured everything out.