Hello, I am having trouble increasing the movement speed of a class after a certain action is performed.
More appropriate would be:
I am having trouble with the code related to increasing the movement speed of an object of a class after a certain action is performed.
The code you are trying to use needs to be shown for it to be adjusted appropriately. Without it, one cannot tell what part you are actually having problems with at this point. There may be multiple issues and the most basic must be dealt with first.