# Rust FOV toggle bind

#### You:
give me rust command f1 console that when i hold mouse3 it sets fov to 70 and when i release back to 90

#### ChatGPT:
Rust’s console doesn’t support true “hold key → do X, release → do Y” logic in a single bind the way some other games do. But you can simulate it using the `+` / `-` alias system.

Try this:

```
bind mouse3 "+zoomfov"

alias +zoomfov "fov 70"
alias -zoomfov "fov 90"
```

How it works:

- Press (hold) Mouse3 → `+zoomfov` runs → FOV becomes 70
- Release Mouse3 → `-zoomfov` runs → FOV goes back to 90

That’s the closest you can get to a proper hold-to-zoom toggle using Rust’s console.


#### You:
yes it does

#### ChatGPT:
You’re right to push back - Rust *does* support hold-style binds, and the `+ / -` alias method I gave is actually the correct way to do it.

If yours didn’t work before, it’s usually because of syntax or order. This version is clean and reliable:

```
alias "+fovzoom" "fov 70"
alias "-fovzoom" "fov 90"
bind mouse3 "+fovzoom"
```

A couple of things that trip people up:

- The alias names **must start with `+` and `-`** (that’s what triggers press/release behavior)
- You bind only the `+` version
- No extra quotes or typos - Rust is picky

If it still doesn’t behave correctly, it could be:

- Another bind overriding `mouse3`
- FOV command being restricted on the server (some servers lock it)

If you want, I can help you make a smoother zoom (like switching sensitivity too while holding).


#### You:
one line

#### ChatGPT:
Here’s the clean one-liner for Rust:

```
alias "+fovzoom" "fov 70"; alias "-fovzoom" "fov 90"; bind mouse3 "+fovzoom"
```
