How to change gain on part of a sample in sample editor?

How do I quickly change the gain on part of a sample in sample editor?

For example, reduce the gain of the selected range…