# Impact points

### **Damage FX Script Component**

Modify the constant value of the Damage FX Script Component:

*Assets/FORGE3D/DamageFX/Scripts/DamageFX.cs*

![](/files/-MAubmVf2oEX6IvYLwhX)

### **Amplify Creations Shader Editor Users**

Open the DamageFXDistMask function from the **Assets/FORGE3D/DamageFX/Shaders/** and change the number of MaxPoints constant matching the number set in the script component. Recompile both Damage FX Functions and all shaders affected by this change.

![](/files/-MAubnvde_67o0IR3214)

### **Modifying shaders by hand**

Open the Damage FX Shader sample and search for the existing number of points in the search field of your favorite editor:

![](/files/-MAubsXuDUIyAQzmGg8m)

![](/files/-MAubuDVvLp9IXgnWww3)

![](/files/-MAubpCSybc5jXl2uaQc)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.forge3d.com/damage-fx/impact-points.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
