> For the complete documentation index, see [llms.txt](https://riseclients-organization.gitbook.io/rise-6-scripting-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://riseclients-organization.gitbook.io/rise-6-scripting-api/examples/simple-vanilla-hop.md).

# Simple vanilla hop

```javascript
var module = rise.registerModule("VHop", "Simple vanilla hop speed.")
script.handle("onUnload", function () {
	module.unregister()
})

module.handle("onStrafe", function(e) {
	e.setSpeed(0.5)
	return e
})

module.handle("onMoveInput", function(e) {
	e.setJump(player.isOnGround())
	return e
})
```
